package com.itheima.health.exception;

/**
 * @Author: 15041
 * @Date: 15:56 2021/1/4
 * @ReturnType: 自定义异常 继承RuntimeException类 ，
 * 重写其中 带message参数和message+cause参数的方法
 *Description:
*/
public class BusinessException extends RuntimeException {

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }
}
